import http from '@/utils/http'
export default {
  // 取消收藏
  async cancelCollect(fileId) {
    return await http.post('/api/favorites/cancel/' + fileId)
  },
  // 获得收藏夹所有文件
  async getCollectFile() {
    return await http.post('/api/favorites/file/list')
  }
}
